package com.zhiyou.app.shop.manager.dao.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * PayOrder entity. @author MyEclipse Persistence Tools
 */

public class PayOrder extends BasePojo{

	private static final long serialVersionUID = 1L;
	private String deliveryAddress;
	private String receipterPhone;
	private String receipterName;
	private Float totalPrice;
	private UserDetail userDetail;
	private Date createDate;
	private Set goodsOrders = new HashSet(0);

	// Constructors

	/** default constructor */
	public PayOrder() {
	}


	public PayOrder(String deliveryAddress, String receipterPhone, 
					String receipterName, Float totalPrice) {
		super();
		this.deliveryAddress = deliveryAddress;
		this.receipterPhone = receipterPhone;
		this.receipterName = receipterName;
		this.totalPrice = totalPrice;
	}


	public Float getTotalPrice() {
		return this.totalPrice;
	}

	public void setTotalPrice(Float totalPrice) {
		this.totalPrice = totalPrice;
	}

	public UserDetail getUserDetail() {
		return userDetail;
	}

	public void setUserDetail(UserDetail userDetail) {
		this.userDetail = userDetail;
	}

	public String getDeliveryAddress() {
		return deliveryAddress;
	}

	public void setDeliveryAddress(String deliveryAddress) {
		this.deliveryAddress = deliveryAddress;
	}

	public String getReceipterPhone() {
		return receipterPhone;
	}

	public void setReceipterPhone(String receipterPhone) {
		this.receipterPhone = receipterPhone;
	}

	public String getReceipterName() {
		return receipterName;
	}

	public void setReceipterName(String receipterName) {
		this.receipterName = receipterName;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Set getGoodsOrders() {
		return this.goodsOrders;
	}

	public void setGoodsOrders(Set goodsOrders) {
		this.goodsOrders = goodsOrders;
	}

}